﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HeadFirst
{
    class Program
    {
        static void Main(string[] args)
        {
            //Console.WriteLine("Hello World");

            //Duck mallard = new MallardDuck();
            //mallard.performQuack();

            //mallard.setQuackBehavior(new MuteQuack());
            //mallard.performQuack();

            Duck mallard = new MallardDuck();

            mallard.performFly();

            mallard.setFlyBehavior(new FlyRocketPowered());
            mallard.performFly();

 
            


        }
    }
}
